package com.sky.common.exception;

/**
 * 业务码
 */
public enum BizCodeEmum {

    UNKNOW_ERROR(10000, "未知异常"),
    METHOD_ARGRUMENT_VALID_ERROR(10001, "参数校验异常");

    private int code;
    private String message;

    BizCodeEmum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
